.PHONY:all
all:cal_server cal_client

cal_server:TcpServerMain.cpp
	g++ -o cal_server TcpServerMain.cpp -lpthread -ljsoncpp
cal_client:TcpClientMain.cpp
	g++ -o cal_client TcpClientMain.cpp -ljsoncpp
.PHONY:clean
clean:
	rm -f cal_client cal_server